Activity

data class Activity<A : Activity>(val activityClass: Class<A>, val flags: Set<IntentFlag> = emptySet(), val launchType: NavigationSpec.Activity.LaunchType = LaunchType.NoResult) : NavigationSpec

Navigates to a new android.app.Activity The Navigator automatically adds the NavigationBundle of the NavigationAction as a Bundle to its Intent

Parameters

A

the type of android.app.Activity to navigate to

activityClass

Class of the A to navigate to

flags

Set of IntentFlag to add to the navigation Intent

launchType

The LaunchType to determine how the Activity should be launched

Constructors

Link copied to clipboard
constructor(activityClass: Class<A>, flags: Set<IntentFlag> = emptySet(), requestCode: Int?)
constructor(activityClass: Class<A>, flags: Set<IntentFlag> = emptySet(), launchType: NavigationSpec.Activity.LaunchType = LaunchType.NoResult)

Types

Link copied to clipboard
sealed class LaunchType

Determines how NavigationSpec.Activity will handle launching its intent

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard